package com.util;

import org.apache.log4j.Logger;

public class Log {
	
	static Logger logger = Logger.getLogger(Log.class.getName());
	
	public static void write(Exception ex){
		logger.error("error",ex);
	}
	public static void write(String message){
		logger.debug(message);
	}
	public static void main(String[] args) {
		logger.debug("Entering application.");
	}
}
